h1 {
  letter-spacing: 2px;
  margin-top: 0;
}
.body-bg {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  background-image: linear-gradient(120deg, #3498db, #8e44ad);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.body-bg .container {
  border-radius: 10px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
  position: relative;
  overflow: hidden;
  width: 768px;
  height: 480px;
  background-color: #fff;
}
.body-bg .container .form-container {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  background-color: #fff;
  transition: all 0.6s ease-in-out;
}
.body-bg .container .form-container .el-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  padding: 0 50px;
  box-sizing: border-box;
}
.body-bg .container .form-container .el-form .el-form-item {
  margin-bottom: 16px;
  width: 100%;
}
.body-bg .container .form-container .el-form .el-form-item .el-input {
  width: 100%;
  padding: 0 5px;
}
.body-bg .container .form-container .el-form .el-form-item .el-input /deep/ .el-input__inner {
  border: none;
  outline: none;
  border-bottom: 1px solid #ccc;
  text-indent: 2px;
  letter-spacing: 2px;
  border-radius: 0;
  font-size: 13px;
  height: 30px;
  line-height: 30px;
}
.body-bg .container .form-container .el-form .el-form-item .el-input /deep/ .el-input__inner:focus {
  background: #fff;
}
.body-bg .container .form-container .el-form .el-form-item .el-input /deep/ .el-input__inner:focus::placeholder {
  transition: 0.2s;
  color: transparent;
}
.body-bg .container .form-container .el-form a {
  text-decoration: none;
  color: #666;
  font-size: 12px;
  text-align: right;
  margin-top: 0;
  display: block;
  width: 100%;
  margin-bottom: 10px;
}
.body-bg .container .form-container .el-form .btn {
  border-radius: 20px;
  background: linear-gradient(120deg, #3498db, #8e44ad);
  border: none;
  background-size: 200%;
  color: #fff;
  transition: 0.5s;
  padding: 12px 85px;
  cursor: pointer;
}
.body-bg .container .form-container .el-form .btn:hover {
  background-position: right;
}
.body-bg .container .form-container .el-form .resgister-btn {
  margin-top: 10px;
}
.body-bg .container .form-container .el-form .social-container {
  margin-bottom: 10px;
}
.body-bg .container .form-container .el-form .social-container .social {
  margin: 0 10px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  border: 1px solid #ddd;
  text-align: center;
  line-height: 40px;
  color: #333;
  display: inline-block;
  font-size: 14px;
}
.body-bg .container .form-container .el-form .social-container .social:hover {
  color: #fff;
  background-color: #222f3e;
  border-color: #cbcbcc;
  transition: 0.5s;
}
.body-bg .container .sign-up-container {
  z-index: 1;
}
.body-bg .container .sign-up-container button {
  margin-top: 10px;
}
.body-bg .container .sign-in-container {
  z-index: 2;
}
.body-bg .container .overlay-container {
  width: 50%;
  height: 100%;
  z-index: 100;
  position: absolute;
  right: 0;
  overflow: hidden;
  transition: transform 0.6s ease-in-out;
}
.body-bg .container .overlay-container .overlay {
  width: 200%;
  height: 100%;
  color: #fff;
  position: absolute;
  background-image: linear-gradient(120deg, #3498db, #8e44ad);
  left: -100%;
}
.body-bg .container .overlay-container .overlay .overlay-panel {
  height: 100%;
  width: 50%;
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.body-bg .container .overlay-container .overlay .overlay-panel p {
  font-size: 12px;
  letter-spacing: 2px;
  margin-top: 0;
  margin-bottom: 30px;
}
.body-bg .container .overlay-container .overlay .overlay-panel .btn {
  background-color: transparent;
  padding: 10px 35px;
  border-radius: 25px;
  font-size: 12px;
  color: #fff;
  border: 1px solid #fff;
  transition: 0.5s;
  cursor: pointer;
}
.body-bg .container .overlay-container .overlay .overlay-panel .btn:hover {
  background: #095ca3;
}
.body-bg .container .overlay-container .overlay .overlay-panel .oregister-btn:hover {
  background: #6227ca;
}
.body-bg .container .overlay-container .overlay .overlay-right {
  right: 0;
}
.body-bg .active .sign-up-container {
  transform: translateX(100%);
  z-index: 5;
}
.body-bg .active .sign-in-container {
  transform: translateX(100%);
}
.body-bg .active .overlay-container {
  transform: translateX(-100%);
}
.body-bg .active .overlay {
  transform: translateX(50%);
}
